package com.ternnetwork.core.service;

import java.util.List;

import com.ternnetwork.commons.model.http.BaseResponse;
import com.ternnetwork.core.entity.Resources;
import com.ternnetwork.core.enums.ResourcesType;
import com.ternnetwork.core.enums.RoleType;
import com.ternnetwork.core.ui.ResourcesZtree;





public interface ResourcesService {
	
	public BaseResponse idoAdd(Resources t);
	public BaseResponse idoUpdate(Resources t);
	public BaseResponse idoDeleteById(long id);
	public List<ResourcesZtree> getTreeJSON(RoleType type,ResourcesType resourcesType);
	public List<ResourcesZtree> getTreeJSON(String roleIds,RoleType type,ResourcesType resourcesType);
	public List<ResourcesZtree> getUserMenuTreeJSON();

}
